﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using PH.Model.Standards;
using PH.Data.Standards;
namespace PH.Logic.Standards
{
    public class SubjectLogic
    {
        public static SubjectModel GetSubject(int id)
        {
            return SubjectCommand.GetSubject(id);
        }

        public static SubjectModel CreateNew(SubjectModel model)
        {
            return SubjectCommand.CreateNew(model);
        }

        public static void Update(SubjectModel model)
        {
            SubjectCommand.Update(model);
        }

        public static SubjectCollection GetSubjects(SubjectQuery sea)
        {
            return SubjectCommand.GetSubjects(sea);
        }

        public static void Delete(int id)
        {
            SubjectCommand.Delete(id);
        }
    }
}
